package team.cdlzz.dao;

import org.apache.ibatis.annotations.Mapper;
import team.cdlzz.model.pojo.CodeSubmit;

import java.util.List;

@Mapper
public interface CodeSubmitMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CodeSubmit record);

    int insertSelective(CodeSubmit record);

    CodeSubmit selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CodeSubmit record);

    int updateByPrimaryKey(CodeSubmit record);

    List<CodeSubmit> selectyAll();

    CodeSubmit selectSubmit(Integer cid, Integer uid);
}